<?php
/**
 * @name		News Config Module
 * @author		C. Hazekamp
 * @copyright	C. Hazekamp
 * @version     2.0.0
 * @date   		28-11-2011 2:57:15
 * @access		private
 * @filesource	/modules/news/default.php
 * @package     ObbyCMS 2.0
 */
 
if (!defined('PUBLIC_HTML'))
{
	exit;
}

try
{
	foreach ($db->sql_get(TABLE_NEWS_CATEGORIES, '*', 'cat_language', $language->current()) as $row_categories)
	{
		
		$tpl->zone('categories', array(
			'ID'		=> (int) $row_categories['cat_group_id'],
			'TITLE'		=> (string) $row_categories['cat_title'],
			
			'TRANSLATE'	=> '',
			'EDIT'		=> '',
			'DELETE'	=> ''
		));
	}
} catch (ErrorHandler $e)
{
	$e->print_error('Yeah');
}

?>